﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "upwardpro.h"
#include "tcp_client.h";
#include <QMainWindow>
#include "jq.h";
#include "colour_spectrum.h";

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT

public:
    explicit MainWindow(QWidget* parent = nullptr);
    ~MainWindow();
    void Switch_page_slot(int index);

private:
    Ui::MainWindow* ui;
    TcpClient* tcpclient;
    JQ* jq;
    colour_spectrum * Colour_spectrum;
};

#endif // MAINWINDOW_H
